package com.ynny.chapter14.service;

import com.ynny.chapter14.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    List<User> selectAll();
    User selectIdAndNameAndPassword(
            @Param("id") int id,
            @Param("name") String name,
            @Param("password") String password);
}
